package jnpf.base;

import jnpf.base.entity.VisualdevEntity;
import jnpf.base.fallback.VisualdevApiFallback;
import jnpf.utils.FeignName;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author ：JNPF开发平台组
 * @version: V3.1.0
 * @copyright 引迈信息技术有限公司
 * @date ：2022/5/6 15:27
 */
@FeignClient(name = FeignName.VUSUALDEV_SERVER_NAME , fallback = VisualdevApiFallback.class, path = "/Base")
public interface VisualdevApi {

    @GetMapping("/getInfo/{moduleId}")
    VisualdevEntity getInfo(@PathVariable("moduleId") String moduleId);

}
